home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Demos / Delphi.Net / CLR / ServiceController / ServiceController.dpr < prev   
Encoding:
Text File  |  2004-10-22  |  4.1 KB  |  87 lines

  1. program ServiceController;
  2.  
  3. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.dll'}
  4. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Data.dll'}
  5. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Drawing.dll'}
  6. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.XML.dll'}
  7. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.ServiceProcess.dll'}
  8. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Management.dll'}
  9. {%DelphiDotNetAssemblyCompiler '$(SystemRoot)\microsoft.net\framework\v1.1.4322\System.Windows.Forms.dll'}
  10. {$R 'ChangeStatusForm.TChangeStatusForm.resources' 'ChangeStatusForm.resx'}
  11. {$R 'DetailsForm.TDetailsForm.resources' 'DetailsForm.resx'}
  12. {$R 'MainForm.TMainForm.resources' 'MainForm.resx'}
  13. {$R 'AboutForm.TAboutForm.resources' 'AboutForm.resx'}
  14. {$R 'ConnectForm.TConnectForm.resources' 'ConnectForm.resx'}
  15.  
  16. uses
  17.   System.Reflection,
  18.   System.Runtime.CompilerServices,
  19.   System.Windows.Forms,
  20.   MainForm in 'MainForm.pas' {MainForm.TMainForm: System.Windows.Forms.Form},
  21.   DetailsForm in 'DetailsForm.pas' {DetailsForm.TDetailsForm: System.Windows.Forms.Form},
  22.   Service in 'Service.pas' {Service.TService: System.ServiceProcess.ServiceController},
  23.   ChangeStatusForm in 'ChangeStatusForm.pas' {ChangeStatusForm.TChangeStatusForm: System.Windows.Forms.Form},
  24.   AboutForm in 'AboutForm.pas' {AboutForm.TAboutForm: System.Windows.Forms.Form},
  25.   ConnectForm in 'ConnectForm.pas' {ConnectForm.TConnectForm: System.Windows.Forms.Form};
  26.  
  27. //
  28. // General Information about an assembly is controlled through the following
  29. // set of attributes. Change these attribute values to modify the information
  30. // associated with an assembly.
  31. //
  32. [assembly: AssemblyTitle('Service Controller')]
  33. [assembly: AssemblyDescription('Utility to examine and administer Windows Service applications.')]
  34. [assembly: AssemblyConfiguration('')]
  35. [assembly: AssemblyCompany('')]
  36. [assembly: AssemblyProduct('')]
  37. [assembly: AssemblyCopyright('')]
  38. [assembly: AssemblyTrademark('')]
  39. [assembly: AssemblyCulture('')]
  40.  
  41. //
  42. // Version information for an assembly consists of the following four values:
  43. //
  44. //      Major Version
  45. //      Minor Version
  46. //      Build Number
  47. //      Revision
  48. //
  49. // You can specify all the values or you can default the Revision and Build Numbers
  50. // by using the '*' as shown below:
  51.  
  52. [assembly: AssemblyVersion('1.0.1.2')]
  53.  
  54. //
  55. // In order to sign your assembly you must specify a key to use. Refer to the 
  56. // Microsoft .NET Framework documentation for more information on assembly signing.
  57. //
  58. // Use the attributes below to control which key is used for signing. 
  59. //
  60. // Notes: 
  61. //   (*) If no key is specified, the assembly is not signed.
  62. //   (*) KeyName refers to a key that has been installed in the Crypto Service
  63. //       Provider (CSP) on your machine. KeyFile refers to a file which contains
  64. //       a key.
  65. //   (*) If the KeyFile and the KeyName values are both specified, the 
  66. //       following processing occurs:
  67. //       (1) If the KeyName can be found in the CSP, that key is used.
  68. //       (2) If the KeyName does not exist and the KeyFile does exist, the key 
  69. //           in the KeyFile is installed into the CSP and used.
  70. //   (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
  71. //       When specifying the KeyFile, the location of the KeyFile should be
  72. //       relative to the project output directory. For example, if your KeyFile is
  73. //       located in the project directory, you would specify the AssemblyKeyFile 
  74. //       attribute as [assembly: AssemblyKeyFile('mykey.snk')], provided your output
  75. //       directory is the project directory (the default).
  76. //   (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
  77. //       documentation for more information on this.
  78. //
  79. [assembly: AssemblyDelaySign(false)]
  80. [assembly: AssemblyKeyFile('')]
  81. [assembly: AssemblyKeyName('')]
  82.  
  83. [STAThread]
  84. begin
  85.   Application.Run(TMainForm.Create);
  86. end.
  87.